<?php

use think\Config;
use think\Db;
use think\App;
// 初始化app
define('APP_PATH', dirname(__DIR__) . '/application/');
define('VENDOR_PATH', APP_PATH . 'vendor' . DIRECTORY_SEPARATOR); // 让tp不用自己的载入机制，而使用composer的autoload
// require_once dirname(__DIR__) . '/vendor/autoload.php';

// include dirname(__DIR__) . '/core/base.php';

// include dirname(__DIR__) . '/core/helper.php';
// $config = new Config();
// $config->load(APP_PATH . '/database.php', 'database');
$app = new App();
$app->initialize();
